package com.cskaoyan.bean.bo.admin.category;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @Author: zhang
 * @Date: 2022/11/21 10:04
 * @Since: jdk1.8
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class MarketCategoryUpdateBo {

    /**
     * id : 1036030
     * name : 数码产品
     * keywords : samsung
     * desc : samsung
     * iconUrl : http://182.92.235.201:8083/wx/storage/fetch/fjrprv4qay3t3klqywa7.jpg
     * picUrl : http://182.92.235.201:8083/wx/storage/fetch/hcdxa187gmdwczpuuyjq.jpg
     * level : L2
     * children : [{"id":1036031,"name":"电脑硬件","keywords":"显卡 ","desc":"显卡","iconUrl":"http://182.92.235.201:8083/wx/storage/fetch/j6tu1k803pcprz5tj0pf.jpg","picUrl":"http://182.92.235.201:8083/wx/storage/fetch/sq6r0dfujlsqvq9jvv0k.jpg","level":"L2"}]
     * pid : 1036030
     */

    private Integer id;
    private String name;
    private String keywords;
    private String desc;
    private String iconUrl;
    private String picUrl;
    private String level;
    private Integer pid;
    private List<ChildrenBean> children;

    @Data
    @AllArgsConstructor
    @NoArgsConstructor
    public static class ChildrenBean {
        /**
         * id : 1036031
         * name : 电脑硬件
         * keywords : 显卡
         * desc : 显卡
         * iconUrl : http://182.92.235.201:8083/wx/storage/fetch/j6tu1k803pcprz5tj0pf.jpg
         * picUrl : http://182.92.235.201:8083/wx/storage/fetch/sq6r0dfujlsqvq9jvv0k.jpg
         * level : L2
         */

        private Integer id;
        private String name;
        private String keywords;
        private String desc;
        private String iconUrl;
        private String picUrl;
        private String level;

    }
}
